B: We should use WITH NOCHECK asexisting records in the ProductReview table must not be validated with the Product table.C: Deletes should not be allowed, so we use ON DELETE NO ACTION.Updates should be allowed, so we use ON DELETE NO CASCADE NO ACTION: the Database Engine raises an error,and the update action on the row in the parent table is rolled back.CASCADE: corresponding rows are updated in the referencing table when that row is updated in the parent table.Note: ON DELETE { NO ACTION | CASCADE | SET NULL | SET DEFAULT }Specifieswhat action happens to rows in the table that is altered, if those rows have a referential relationship and the referenced row is deleted from the parent table. The default is NO ACTION. ON UPDATE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } Specifieswhat action happens to rows in the table altered when those rows have a referential relationship and the referenced row is updated in the parent table. The default is NO ACTION. Note: You must modify the ProductReview Table to meet the following requirements:The table must reference the ProductID column in the Product table Existing records in the ProductReview table must not be validated with the Product table. Deleting records in the Product table must not be allowed if records are referencedby the ProductReview table. Changes to records in the Product table must propagate to the ProductReview table. References:https://msdn.microsoft.com/en-us/library/ms190273.aspxhttps://msdn.microsoft.com/en-us/library/ms188066.aspx
B: We should use WITH NOCHECK asexisting records in the ProductReview table must not be validated with the Product table.
C: Deletes should not be allowed, so we use ON DELETE NO ACTION.
Updates should be allowed, so we use ON DELETE NO CASCADE
NO ACTION: the Database Engine raises an error,and the update action on the row in the parent table is rolled back.
CASCADE: corresponding rows are updated in the referencing table when that row is updated in the parent table.
Note: ON DELETE { NO ACTION | CASCADE | SET NULL | SET DEFAULT }
Specifieswhat action happens to rows in the table that is altered, if those rows have a referential relationship and the referenced row is deleted from the parent table. The default is NO ACTION.
ON UPDATE { NO ACTION | CASCADE | SET NULL | SET DEFAULT }
Specifieswhat action happens to rows in the table altered when those rows have a referential relationship and the referenced row is updated in the parent table. The default is NO ACTION.
Note: You must modify the ProductReview Table to meet the following requirements:
The table must reference the ProductID column in the Product table
Existing records in the ProductReview table must not be validated with the Product table.
Deleting records in the Product table must not be allowed if records are referencedby the ProductReview table.
Changes to records in the Product table must propagate to the ProductReview table.
References:https://msdn.microsoft.com/en-us/library/ms190273.aspx
https://msdn.microsoft.com/en-us/library/ms188066.aspx